<template>
  <!-- 用户管理 -->
  <div class="user-manage-delete-box">
    <div class="CardItems-box">
      <CardItems
        ref="CardItemsRef"
        :card-config="cardConfig"
        :pop-config="popConfig"
        :select-config="selectConfig"
        :header-config="headerConfig"
      />
    </div>
  </div>
</template>

<script>
import CardItems from '@/components/CardItems'
import { cardConfig } from './config/cardConfig'
import { popConfig } from './config/popConfig'
import { selectConfig } from './config/selectConfig'
import { headerConfig } from './config/tableConfig'

export default {
  name: 'UserManageDelete',
  components: {
    CardItems
  },
  data() {
    return {}
  },
  computed: {
    /**
     * 卡片配置
     */
    cardConfig() {
      return cardConfig['user-manage-delete'] || {}
    },
    /**
     * 弹窗配置
     */
    popConfig() {
      return popConfig['user-manage-delete'] || {}
    },
    /**
     * 筛选配置
     */
    selectConfig() {
      return selectConfig['user-manage-delete'] || []
    },
    /**
     * 表头配置
     */
    headerConfig() {
      return headerConfig['user-manage-delete'] || []
    }
  }
}
</script>

<style lang="scss" scoped>
.user-manage-delete-box {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;

  .CardItems-box {
    flex: 1;
  }
}
</style>
